function loadJS(url, success) {
    jQuery.support.cors = true;
    var domScript = document.createElement('script');
    domScript.src = url;
    success = success || function() {};
    if (navigator.userAgent.indexOf("MSIE") > 0) {
        domScript.onreadystatechange = function() {
            if ('loaded' === this.readyState || 'complete' === this.readyState) {
                success();
                this.onload = this.onreadystatechange = null;
                this.parentNode.removeChild(this);
            }
        };
    } else {
        domScript.onload = function() {
            success();
            this.onload = this.onreadystatechange = null;
            this.parentNode.removeChild(this);
        };
    }
    document.getElementsByTagName('head')[0].appendChild(domScript);
}
loadJS("//js.img.10010.com/net5/front/js/mallheader.js", function() {
    loadJS("//js.img.10010.com/net5/front/js/common/xdomainrequest.js", function() {
        loadJS("//js.img.10010.com/net5/front/js/jquery.jedate.min.js", function() {
            loadJS("//js.img.10010.com/net5/front/js/common/jquery-jtemplates.js", function() {
                loadJS("//js.img.10010.com/net5/front/js/common/jquery-ui.js", function() {
                    loadJS("//js.img.10010.com/net5/front/js/common/commonsBase_a.js", function() {
                        loadJS("//js.img.10010.com/net5/front/js/header_a.js", function() {
                            loadJS("//js.img.10010.com/net5/front/js/nav_a.js", function() {
                                loadJS("//js.img.10010.com/net5/front/js/footer_a.js", function() {
                                    loadJS("//js.img.10010.com/net5/front/js/nav.js", function() {
                                        loadJS("//js.img.10010.com/net5/front/js/index1.js", function() {
                                            loadJS("//js.img.10010.com/net5/front/js/footer1.js", function() {
                                                loadJS("http://res.mall.10010.cn/mall/res/static/hotsearch/hotsearch.js", function() {
                                                    loadJS("//js.img.10010.com/net5/front/js/search.js", function() {
                                                        loadJS("//js.img.10010.com/net5/front/js/footer.js", function() {
                                                            loadJS("//js.img.10010.com/net5/front/js/dcs_tag_3g.js", function() {});
                                                        });
                                                    });
                                                });
                                            });
                                        });
                                    });
                                });
                            });
                        });
                    });
                });
            });
        });
    });
});